#!/bin/sh

mkdir -p /run/skywalking-agent
rm -rfv /run/skywalking-agent/*
cp -rv /workspace/apache-skywalking-apm-bin/agent/* /run/skywalking-agent/
cp -rv /run/skywalking-agent/optional-plugins/* /run/skywalking-agent/plugins/
tail -f /run/skywalking-agent/config/agent.config
